using System;
using System.Windows.Forms;
using ArchiveMe.Code;

namespace ArchiveMe.Forms
{
    public partial class frmAbout : Form
    {
        public frmAbout()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void frmAbout_Load(object sender, EventArgs e)
        {
            Label1.Text = string.Format("{0} {1}", AppConfig.Name(), AppConfig.Version());
            Text = string.Format("About {0} {1}", AppConfig.Name(), AppConfig.Version());
        }

        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            System.Diagnostics.Process.Start("mailto:lukasz@gasior.net.pl");

        }
    }
}